
package com.mu.rai.services;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for mutationAttack complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="mutationAttack">
 *   &lt;complexContent>
 *     &lt;extension base="{http://services.rai.mu.com}attack">
 *       &lt;sequence>
 *         &lt;element name="address_looping_enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="excludes" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="exclude" type="{http://services.rai.mu.com}vectorSelector" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="includes" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="include" type="{http://services.rai.mu.com}vectorSelector" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="instrumentation" type="{http://services.rai.mu.com}instrumentationType"/>
 *         &lt;element name="options" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="option" type="{http://services.rai.mu.com}protocolOption" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="protocol" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="throttle_timeout" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="variant_fault_limit" type="{http://services.rai.mu.com}faultLimit" minOccurs="0"/>
 *         &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mutationAttack", propOrder = {
    "addressLoopingEnabled",
    "excludes",
    "includes",
    "instrumentation",
    "options",
    "protocol",
    "throttleTimeout",
    "variantFaultLimit",
    "version"
})
public class MutationAttack
    extends Attack
{

    @XmlElement(name = "address_looping_enabled")
    protected Boolean addressLoopingEnabled;
    protected MutationAttack.Excludes excludes;
    protected MutationAttack.Includes includes;
    @XmlElement(required = true)
    protected InstrumentationType instrumentation;
    protected MutationAttack.Options options;
    @XmlElement(required = true)
    protected String protocol;
    @XmlElement(name = "throttle_timeout")
    protected long throttleTimeout;
    @XmlElement(name = "variant_fault_limit")
    protected FaultLimit variantFaultLimit;
    protected Integer version;

    /**
     * Gets the value of the addressLoopingEnabled property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isAddressLoopingEnabled() {
        return addressLoopingEnabled;
    }

    /**
     * Sets the value of the addressLoopingEnabled property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setAddressLoopingEnabled(Boolean value) {
        this.addressLoopingEnabled = value;
    }

    /**
     * Gets the value of the excludes property.
     * 
     * @return
     *     possible object is
     *     {@link MutationAttack.Excludes }
     *     
     */
    public MutationAttack.Excludes getExcludes() {
        return excludes;
    }

    /**
     * Sets the value of the excludes property.
     * 
     * @param value
     *     allowed object is
     *     {@link MutationAttack.Excludes }
     *     
     */
    public void setExcludes(MutationAttack.Excludes value) {
        this.excludes = value;
    }

    /**
     * Gets the value of the includes property.
     * 
     * @return
     *     possible object is
     *     {@link MutationAttack.Includes }
     *     
     */
    public MutationAttack.Includes getIncludes() {
        return includes;
    }

    /**
     * Sets the value of the includes property.
     * 
     * @param value
     *     allowed object is
     *     {@link MutationAttack.Includes }
     *     
     */
    public void setIncludes(MutationAttack.Includes value) {
        this.includes = value;
    }

    /**
     * Gets the value of the instrumentation property.
     * 
     * @return
     *     possible object is
     *     {@link InstrumentationType }
     *     
     */
    public InstrumentationType getInstrumentation() {
        return instrumentation;
    }

    /**
     * Sets the value of the instrumentation property.
     * 
     * @param value
     *     allowed object is
     *     {@link InstrumentationType }
     *     
     */
    public void setInstrumentation(InstrumentationType value) {
        this.instrumentation = value;
    }

    /**
     * Gets the value of the options property.
     * 
     * @return
     *     possible object is
     *     {@link MutationAttack.Options }
     *     
     */
    public MutationAttack.Options getOptions() {
        return options;
    }

    /**
     * Sets the value of the options property.
     * 
     * @param value
     *     allowed object is
     *     {@link MutationAttack.Options }
     *     
     */
    public void setOptions(MutationAttack.Options value) {
        this.options = value;
    }

    /**
     * Gets the value of the protocol property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getProtocol() {
        return protocol;
    }

    /**
     * Sets the value of the protocol property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setProtocol(String value) {
        this.protocol = value;
    }

    /**
     * Gets the value of the throttleTimeout property.
     * 
     */
    public long getThrottleTimeout() {
        return throttleTimeout;
    }

    /**
     * Sets the value of the throttleTimeout property.
     * 
     */
    public void setThrottleTimeout(long value) {
        this.throttleTimeout = value;
    }

    /**
     * Gets the value of the variantFaultLimit property.
     * 
     * @return
     *     possible object is
     *     {@link FaultLimit }
     *     
     */
    public FaultLimit getVariantFaultLimit() {
        return variantFaultLimit;
    }

    /**
     * Sets the value of the variantFaultLimit property.
     * 
     * @param value
     *     allowed object is
     *     {@link FaultLimit }
     *     
     */
    public void setVariantFaultLimit(FaultLimit value) {
        this.variantFaultLimit = value;
    }

    /**
     * Gets the value of the version property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * Sets the value of the version property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setVersion(Integer value) {
        this.version = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="exclude" type="{http://services.rai.mu.com}vectorSelector" maxOccurs="unbounded" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "exclude"
    })
    public static class Excludes {

        protected List<VectorSelector> exclude;

        /**
         * Gets the value of the exclude property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the exclude property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getExclude().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link VectorSelector }
         * 
         * 
         */
        public List<VectorSelector> getExclude() {
            if (exclude == null) {
                exclude = new ArrayList<VectorSelector>();
            }
            return this.exclude;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="include" type="{http://services.rai.mu.com}vectorSelector" maxOccurs="unbounded" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "include"
    })
    public static class Includes {

        protected List<VectorSelector> include;

        /**
         * Gets the value of the include property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the include property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getInclude().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link VectorSelector }
         * 
         * 
         */
        public List<VectorSelector> getInclude() {
            if (include == null) {
                include = new ArrayList<VectorSelector>();
            }
            return this.include;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="option" type="{http://services.rai.mu.com}protocolOption" maxOccurs="unbounded" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "option"
    })
    public static class Options {

        protected List<ProtocolOption> option;

        /**
         * Gets the value of the option property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the option property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getOption().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link ProtocolOption }
         * 
         * 
         */
        public List<ProtocolOption> getOption() {
            if (option == null) {
                option = new ArrayList<ProtocolOption>();
            }
            return this.option;
        }

    }

}
